package edu.zut.hb.software.train.StationSize.domain;



import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import edu.zut.hb.software.base.domain.BaseEntity;




@Table(name="T_StationSize")  //表名
@Entity    //实体
/*@NamedQueries({ @NamedQuery(name = "Customer.getRoot", query = "select g from Customer g where g.parent is null") })*/
public class StationSize extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = -31279394964769200L;
	
    @Id
	@Column(name = "Id")
	Long id;
	
	@Column(name = "Size")
	int size;
 
	@Column(name = "Hight")
	int hight;


    
    
    
	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public int getHight() {
		return hight;
	}

	public void setHight(int hight) {
		this.hight = hight;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "StationSize [id=" + id + ", size=" + size + ", hight=" + hight + "]";
	}



	
	
	
}
